import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/pms/pmsRepertory/list',
method: 'get',
params: params
})
}
export function createPmsRepertory(data) {
return request({
url: '/pms/pmsRepertory/create',
method: 'post',
data: data
})
}

export function deletePmsRepertory(id) {
return request({
url: '/pms/pmsRepertory/delete/' + id,
method: 'get',
})
}

export function getPmsRepertory(id) {
return request({
url: '/pms/pmsRepertory/' + id,
method: 'get',
})
}

export function updatePmsRepertory(id, data) {
return request({
url: '/pms/pmsRepertory/update/' + id,
method: 'post',
data: data
})
}

